﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DayNight
/// </summary>

    [Serializable]
    public class DayNight
    {
        private bool _id;
        private string _name = String.Empty;
        private DateTime _fromTime;
        private DateTime _toTime;
        private Guid _lastUser = Guid.Empty;
        private DateTime _lastUpdate;



        public DayNight()
        {
        }


        public DayNight(bool id)
        {
            _id = id;
        }

        #region Public Properties
        public bool Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public DateTime FromTime
        {
            get { return _fromTime; }
            set { _fromTime = value; }
        }

        public DateTime ToTime
        {
            get { return _toTime; }
            set { _toTime = value; }
        }

        public Guid LastUser
        {
            get { return _lastUser; }
            set { _lastUser = value; }
        }

        public DateTime LastUpdate
        {
            get { return _lastUpdate; }
            set { _lastUpdate = value; }
        }
        #endregion
    }
